//
//  ZaiXianFuDaoNavView.h
//  SanYiTeaching
//
//  Created by 李文强 on 2019/4/19.
//  Copyright © 2019 SanYi. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MinButtonViewBtn.h"

@protocol ZaiXianFuDaoNavViewDelegate <NSObject>

@required
- (void)back;
- (void)scrollViewChangeButtom:(int)index;
- (void)nianJiSelected;
- (void)riQiSelected;
@end

NS_ASSUME_NONNULL_BEGIN

@interface ZaiXianFuDaoNavView : UIView{
    NSArray *dataArray;
    UIView *lineView;
}
@property (nonatomic, strong) UIButton *backButton;
@property (nonatomic, strong) UIButton *nianJiButton;
@property (nonatomic, strong) MinButtonViewBtn *timeButton;
@property (nonatomic, assign) id<ZaiXianFuDaoNavViewDelegate>delegate;
@property (nonatomic, assign) CGFloat mainw;
- (instancetype)initWithFrame:(CGRect)frame andArray:(NSArray *)buttonArray;
- (void)uploadLayout;

@end

NS_ASSUME_NONNULL_END
